package org.example.work;


import java.util.ArrayList;
import java.util.List;

public class MyTest {
    public static void main(String[] args) {

    }

    public static void tets() {
        Integer[] input = new Integer[]{1,2,3};

        Integer[] ans = new Integer[]{5};
        List<Integer[]> ints = new ArrayList<>();
        ints.add(input);
        ints.add(ans);
        Integer[] integers = ints.get(0);
        if (integers[0] > 1 && integers[1] == 0) {
            integers[2] /= integers[0];
        }
        if (integers[0] == 2 || integers[1] > 1) {
            integers[2] += 1;
        }
        if (integers.equals(ints.get(1))) {
            System.out.println("success");
        }
        else {
            System.out.println("false");
        }
    }

}
